package com.corpgovernment.common.currency.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author ldma
 * @date 2024/2/1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ExchangeInfoBo {

    /**
     * 货币精度
     */
    private BigDecimal amountAdding;
    /**
     * 货币进位规则
     */
    private Integer carryRule;
    /**
     * 汇率
     */
    private BigDecimal exchangeRate;
    /**
     * 基准货币编码
     */
    private String fromCurrencyCode;
    /**
     * 标价货币编码
     */
    private String toCurrencyCode;
    /**
     * 货币token
     */
    private String exchangeToken;
    /**
     * 基准货币金额
     */
    private BigDecimal fromCurrencyAmount;
    /**
     * 标价货币金额
     */
    private BigDecimal toCurrencyAmount;

}
